package com.carleasoft.mps.exam.common.feign;

import com.carleasoft.mps.core.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @Description:
 * @Author: fan
 */
@FeignClient(value = "fs")
@Component
public interface FastDfsFeignService {
    @PostMapping("/fs/file/upload")
    String upload(@RequestParam MultipartFile file);
}
